﻿using System;
using NFox.Pycad;
using Xceed.Wpf.AvalonDock.Layout;
using NFox.Pyeditor.Runtime;

namespace NFox.Pyeditor.ViewModel
{
    public class Document : IDocument
    {

        LayoutDocument _doc;

        public Document(LayoutDocument doc)
        {
            _doc = doc;
        }

        public dynamic Content
        {
            get { return _doc; }
        }

        public string Title
        {
            get { return _doc.Title; }
            set { _doc.Title = value; }
        }

        public void Close()
        {
            _doc.Close();
        }


    }
}
